package com.jm.service.impl;

import com.jm.common.conf.mybatis.EnhanceServiceImpl;
import com.jm.mapper.SysUserMapper;
import com.jm.model.SysUser;
import com.jm.service.i.SysUserService;
import lombok.extern.slf4j.Slf4j;
import org.redisson.api.RedissonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author kong
 */
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class SysUserServiceImpl extends EnhanceServiceImpl<SysUserMapper, SysUser> implements SysUserService {

    @Autowired
    public SysUserServiceImpl(RedisTemplate<String, Object> redis, RedissonClient redissonClient) {
        super(redis, redissonClient);
    }
}
